//
//  JPAccount.h
//  JPShop
//
//  Created by 虎爷 on 2019/9/27.
//  Copyright © 2019 虎爷. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface JPAccount : NSObject
singleton_interface(JPAccount)

@property (strong, nonatomic) NSString *token;
@property(nonatomic,strong)NSNumber *wx_switch;
@property(nonatomic,strong)NSNumber *inviteCode;

//保存token
-(void)SaveTokenToSandbox;
-(void)LoadTokenFromSandbox;

-(void)SaveSwitchToSandbox;
-(void)LoadSwitchFromSandbox;

-(void)SaveInviteCodeToSandbox;
-(void)LoadInviteCodeFromSandbox;

@end

NS_ASSUME_NONNULL_END
